class CreateResults < ActiveRecord::Migration
	  def self.up
		create_table :results do|t|
			t.column :poll_id,:integer
			t.column :question_id,:integer
			t.column :poll_number,:integer
			t.column :content,:text
			t.column :delete, :string, :limit => 3, :default => 'NO', :null => false	
			t.column :create_on, :datetime
			t.column :modified, :integer
		end
	  end

	 def self.down
		  drop_table results
	  end
end
